<?php
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
 
// import Joomla controller library
jimport('joomla.application.component.controller');
 
/**
 * Hello World Component Controller
 */
class ServiceController extends JController
{
	public function __construct()
	{
		parent::__construct();

		//$document = JFactory::getDocument();
		//$document->setType('raw');
	}
	
	function display()
        {
                $document = &JFactory::getDocument();
                $doc = &JDocument::getInstance('raw');
                $document = $doc;
                $document->setMimeEncoding('application/rss+xml');

                if ( ! JRequest::getCmd( 'view' ) ) {
                        JRequest::setVar('view', 'Service' );
                }

                parent::display();
        }
}